package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Exercise;

import java.util.Date;
import java.util.List;

public interface ExerciseService {
    void add(List<Exercise> exerciseList);
    public PageResult pageQuery(QueryPageBean queryPageBean);

    List<Exercise> finAll();

    List<String> findExerciseByOrderDate(Date date);

    void addExercise(Exercise exercise);

    Exercise findById(Integer sid);

    void edit(Exercise exercise);

    void deleteById(Integer sid);
}
